package com.iams.manage.mapper;

import com.iams.manage.domain.ArchiveDestroyApproval;

import java.util.List;

/**
 * 档案销毁Mapper接口
 * 
 * @author LiuTao
 * @date 2025-03-18
 */
public interface ArchiveDestroyApprovalMapper 
{
    /**
     * 查询档案销毁
     * 
     * @param id 档案销毁主键
     * @return 档案销毁
     */
    public ArchiveDestroyApproval selectArchiveDestroyApprovalById(Long id);

    /**
     * 查询档案销毁列表
     * 
     * @param archiveDestroyApproval 档案销毁
     * @return 档案销毁集合
     */
    public List<ArchiveDestroyApproval> selectArchiveDestroyApprovalList(ArchiveDestroyApproval archiveDestroyApproval);

    /**
     * 新增档案销毁
     * 
     * @param archiveDestroyApproval 档案销毁
     * @return 结果
     */
    public int insertArchiveDestroyApproval(ArchiveDestroyApproval archiveDestroyApproval);

    /**
     * 修改档案销毁
     * 
     * @param archiveDestroyApproval 档案销毁
     * @return 结果
     */
    public int updateArchiveDestroyApproval(ArchiveDestroyApproval archiveDestroyApproval);

    /**
     * 删除档案销毁
     * 
     * @param id 档案销毁主键
     * @return 结果
     */
    public int deleteArchiveDestroyApprovalById(Long id);

    /**
     * 批量删除档案销毁
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteArchiveDestroyApprovalByIds(Long[] ids);


    public ArchiveDestroyApproval selectArchiveDestroyApprovalByBusinessKey(String businessKey);
}
